import {$} from '../js/library/jquery.js';





    //鼠标点击事件
    $('.username').click(function(){
        $('.un-txt').css({
            'top':'30px',
            'font-size':'12px'
    });
    
       
    });
    $('.password').click(function(){
        $('.pwd-txt').css({
            'top':'115px',
            'font-size':'12px'
    });
    
       
    });

    $('.resgiter').click(function(){
        $('.resgiter').css('color','#000');
        $('.login').css('color','#ccc');
        $('.form-login').css('left','-600px');
        $('.form-reg').css('right','0px');
        $('.wrap-bottom').css('left','62px');
    });
    $('.login').click(function(){
        $('.resgiter').css('color','#ccc');
        $('.login').css('color','#000');
        $('.form-login').css('left','0');
        $('.form-reg').css('right','-600px');
        $('.wrap-bottom').css('left','0px');
    });


    $('.eye').mouseenter(function(){
        $('.eye').addClass('iconicon-eye-open').removeClass('iconclose-eye');
        $('#password').attr('type','text');
    });
    $('.eye').mouseleave(function(){
        $('.eye').addClass('iconclose-eye').removeClass('iconicon-eye-open');
        $('#password').attr('type','password');
    });
    

